package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.landseaserver.domain.AnswerDetail;
import com.logic.landseaserver.ws.dto.AnswerDetailDTO;

public interface AnswerDetailReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AnswerDetail record);

    int insertSelective(AnswerDetail record);

    AnswerDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AnswerDetail record);

    int updateByPrimaryKey(AnswerDetail record);
    
    List<AnswerDetailDTO> selectAnswersByOrderId(Integer id);

	Integer getAnswserBasicId(Integer orderId);
}